package com.icid.store.controller
{
	import com.adobe.cairngorm.control.FrontController;
	import com.icid.store.command.GetProductListCommand;
	import com.icid.store.command.SetProductInfoCommand;
	import com.icid.store.command.TryDeleteProductCommand;

	public class ProductController extends FrontController
	{
		public static const GET_PRODUCT_LIST:String 	= "getProductList";
		public static const SET_PRODUCT_INFO:String 	= "setProductInfo";
		public static const TRY_DELETE_PRODUCT:String	= "tryDeleteProduct";
		public function ProductController()
		{
			super();
			addCommand(ProductController.GET_PRODUCT_LIST,GetProductListCommand);
			addCommand(ProductController.SET_PRODUCT_INFO,SetProductInfoCommand);
			addCommand(ProductController.TRY_DELETE_PRODUCT,TryDeleteProductCommand);
		}
		
	}
}